package com.qqtech.qquan.user.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class UserLogin extends BaseDomain{
	/**
	 * 是否已身份认证:1-是;2-否
	 */
	private Integer hasIdentityAuth;
	/**
	 * 是否已社区住户认证:1-是;2-否
	 */
	private Integer hasCommunityAuth;
	
	//columns START
    /** 密码 */
	private java.lang.String passwod;

	/** 登录令牌 */
	private java.lang.String token;

	/** 令牌失效时间 */
	private java.sql.Timestamp tokenExpireAt;

	//columns END
	public UserLogin(){
	}


	public UserLogin( java.lang.Integer id ){
		this.id = id;
	}
    public Integer getHasCommunityAuth() {
		return hasCommunityAuth;
	}
    public Integer getHasIdentityAuth() {
		return hasIdentityAuth;
	}
	public java.lang.String getPasswod() {
		return this.passwod;
	}

	public java.lang.String getToken() {
		return this.token;
	}

	public java.sql.Timestamp getTokenExpireAt() {
		return this.tokenExpireAt;
	}

	public void setHasCommunityAuth(Integer hasCommunityAuth) {
		this.hasCommunityAuth = hasCommunityAuth;
	}
	
	public void setHasIdentityAuth(Integer hasIdentityAuth) {
		this.hasIdentityAuth = hasIdentityAuth;
	}

	public void setPasswod(java.lang.String passwod) {
		this.passwod = passwod;
	}
	
	public void setToken(java.lang.String token) {
		this.token = token;
	}

	public void setTokenExpireAt(java.sql.Timestamp tokenExpireAt) {
		this.tokenExpireAt = tokenExpireAt;
	}
	

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

